package com.hd.appcommon.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hd.appcommon.entity.TrainingPlan;
import com.hd.appcommon.entity.vo.TrainingPlanCollegeVo;
import com.hd.appcommon.mapper.TrainingPlanMapper;
import com.hd.appcommon.service.ITrainingPlanService;
import com.hd.hdxgddcommon.page.MyPage;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>Powered by ZXF On 2023-06-30 12:25:47
 */
@Service
public class TrainingPlanServiceImpl extends ServiceImpl<TrainingPlanMapper, TrainingPlan> implements ITrainingPlanService {
    @Autowired
    TrainingPlanMapper trainingPlanMapper;

    @Override
    public List<TrainingPlan> listByTrainingPlanId() {
        return null;
    }

    @Override
    public IPage<TrainingPlanCollegeVo> listTrainingPlan(MyPage page, LambdaQueryWrapper<TrainingPlan> queryWrapper) {
        return trainingPlanMapper.listTrainingPlan(page,queryWrapper);
    }

}
